const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  // 关闭语法检测
  lintOnSave:false,
  // 代理接口跨域
  devServer: {
    proxy:{
      "/api1":{
        target:"https://heimahr.itheima.net/api",
        pathRewrite:{"^/api1":""},
        changeOrigin:true,
      }
    }
  }
})
